package com.zyw.orm.support;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;

public class BaseEntity implements Serializable {

    static final long serialVersionUID = 1L;

    private String extendField1;
    private String extendField2;
    private String extendField3;
    private String extendField4;
    private String extendField5;

    @JSONField(serialize = false)
    @JsonIgnore
    public String getExtendField1() {
        return extendField1;
    }

    public void setExtendField1(String extendField1) {
        this.extendField1 = extendField1;
    }

    @JSONField(serialize = false)
    @JsonIgnore
    public String getExtendField2() {
        return extendField2;
    }

    public void setExtendField2(String extendField2) {
        this.extendField2 = extendField2;
    }

    @JSONField(serialize = false)
    @JsonIgnore
    public String getExtendField3() {
        return extendField3;
    }

    public void setExtendField3(String extendField3) {
        this.extendField3 = extendField3;
    }

    @JSONField(serialize = false)
    @JsonIgnore
    public String getExtendField4() {
        return extendField4;
    }

    public void setExtendField4(String extendField4) {
        this.extendField4 = extendField4;
    }

    @JSONField(serialize = false)
    @JsonIgnore
    public String getExtendField5() {
        return extendField5;
    }

    public void setExtendField5(String extendField5) {
        this.extendField5 = extendField5;
    }

    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
